ActivityNodeReader.Id Property

An identifier for the activity that is unique within the package.

Parent Type: ActivityNodeReader

Namespace: Microsoft.LearningComponents.Manifest

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public string Id

{ get; }
Exceptions
Exception type Condition
InvalidPackageException

The parsing mode is ManifestReaderSettings.FixScormRequirementViolations=false and the attribute is missing or invalid.

Remarks

This element is required. If it does not exist or is invalid in the package, this property will throw an InvalidPackageException if the parsing mode is ManifestReaderSettings.FixScormRequirementViolations=false. In ManifestReaderSettings.FixScormRequirementViolations=true, it will return String.Empty.

Corresponds to the <item>/identifier attribute.